From: Adel Gadllah Date: Sun, 4 Aug 2013 09:35:35 +0000 (+0200) Subject: overview: Reset opacity when not animating X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3827 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cc6a408d5dbbb7a36540616cb252ee093ccee326;p=gnome-shell.git overview: Reset opacity when not animating We are not resetting the opacity when we are not animating, which can cause a hidden window to end up with opacity 0 if we remove the tween to early. --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 05159c840..a2716efd9 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -1141,6 +1141,7 @@ const Workspace = new Lang.Class({ Tweener.removeTweens(clone.actor); clone.actor.set_position(x, y); clone.actor.set_scale(scale, scale); + clone.actor.set_opacity(255); clone.overlay.relayout(false); this._showWindowOverlay(clone, overlay, isOnCurrentWorkspace); }